package com.lesso.lzh.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lzh.sunflower.model.Device;
import com.lesso.lzh.sunflower.pojo.dto.DeviceDTO;
import com.lesso.lzh.sunflower.pojo.dto.DeviceQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.DeviceVO;

/**
 * IDeviceService
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface IDeviceService {
    Long save(DeviceDTO dto);

    Page<DeviceVO> page(DeviceQueryDTO dto);

    Page<DeviceVO> customPage(DeviceQueryDTO dto);

    void deleteById(Long id);

    Device selectById(Long id);

    Device update(DeviceDTO dto);


}